﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevenBlog.Core.Entities;

namespace LevenBlog.Core.Data
{
    public interface IUserInfo
    {
        void Insert(IDbProvider provider, lb_userinfo info);

        void Update(IDbProvider provider, lb_userinfo info);

        void Delete(IDbProvider provider, int id);

        void DeleteFromUserID(IDbProvider provider, int userid);

        lb_userinfo Get(IDbProvider provider, int id);

        lb_userinfo GetFromUserID(IDbProvider provider, int userid);
    }
}
